Visit Home Page


Star Wars Racer



Creating your own Star Wars Racer audio files - a game mod for Windows PC

Method 1 - Two CDs

NEW Method 2 - No CDs, 2 Music Folders NEW

One of the things that was immediately obvious about the pod-racing sequence in Star Wars Episode One: The Phantom Menace was its potential for development as a video game. Star Wars Racer became that game, but while the racing part was quite fun, I found that I tired quickly of the short, looped audio clips included with the game. This is not to say that John Williams' compositions are bad, but screaming rock guitars played at breakneck speed seemed a more fitting acoustic backdrop. This page describes two successful methods for putting new audio files into the game.

Screenshot 1

My own splash screen
Featuring the music of Joe Satriani, Motörhead, Deep Purple, Queen, and James Brown

The original Star Wars Racer game was created by LucasArts. You will need an original copy of the game CD to get started, so go out, buy it, and support the work of George Lucas & Co.

Screenshot 2

Method 1 - Two CDs

Directory Structure and Files on the Hard Drive

Directory Structure and Files on the Modded Star Wars Racer CD

Download TXT file

Green indicates hacked or modified directories and/or files
White indicates things to note
X
X
Directory: D:\Games\Racer (Install path on my computer)


"Racer" Root <DIR> All 77 original files are retained, though the following can probably be deleted:
racer.rtf 560,705
racer.txt 1,744
README.RTF 38,822
README.TXT 31,399
register.exe 28,672
Uninstall Star Wars Episode I Racer.lnk 329
View Star Wars Episode I Racer Readme.lnk 302
Website.exe 16,896

1 D:\Games\Racer\ DATA <DIR>
All 4 original files are retained
     2 D:\Games\Racer\DATA\ config <DIR>
No original files to retain
          3 D:\Games\Racer\DATA\config\ current <DIR>
All 4 original files are retained
          3 D:\Games\Racer\DATA\config\ MAXOUT <DIR>
All 4 original files are retained
     
2 D:\Games\Racer\DATA\ images <DIR> All 92 original files are retained, but the following files were changed to create personalized splash screens and backgrounds:
          
episode1.old.TGA 21,552 Original graphic renamed
          episode1.tga 12,858
New "blank" graphic, but original file name
          GREYEDSPLASH.old.TGA 921,644
Original graphic renamed
          GREYEDSPLASH.tga 936,371
New graphic (see my splash screen above), but original file name
          
podhangar_backdrop.old.TGA 921,644 Original graphic renamed
          podhangar_backdrop.tga 936,371
New graphic, but original file name
          podhangar_backdrop2.old.TGA 921,644
Original graphic renamed
          podhangar_backdrop2.tga 826,726
New graphic, but original file name
          racer.old.tga 39,594
Original graphic renamed
          racer.tga 16,955
New "blank" graphic, but original file name
          
star.old.TGA 19,052 Original graphic renamed
          star.tga 12,858
New "blank" graphic, but original file name
         
 wars.old.TGA 19,052 Original graphic renamed
          wars.tga 12,858
New "blank" graphic, but original file name
     2 D:\Games\Racer\DATA\ lev01 <DIR>
All 4 original files are retained
     2 D:\Games\Racer\DATA\ PLAYER <DIR>
Files for player characters, minimum 1 SAV, 1 DAT)
     2 D:\Games\Racer\DATA\ WAVS <DIR>
          
3 D:\Games\Racer\DATA\WAVS\ 11K <DIR> All 257 files were deleted after install
                    4 D:\Games\Racer\DATA\WAVS\11K\ Voice <DIR>
All 956 files were deleted after install
          3 D:\Games\Racer\DATA\WAVS\ 22K <DIR>
All 257 original files are retained
                    4 D:\Games\Racer\DATA\WAVS\22K\ Voice <DIR>
All 985 original files are retained

Directories: 12
Files: 1441 ( 198403128 bytes )

Download TXT file

Green indicates hacked or modified directories and/or files
White indicates things to note

Directory: G:\(My CD-ROM drive)
Volume label: racer100_0(Original volume label: racer100_0)


"racer100_0" Root <DIR> All 3 original files included

1 G:\ DirectX <DIR> All 108 original files retained
     2 G:\DirectX\ Drivers <DIR> No original files to retain
          3 G:\DirectX\Drivers\ ENG <DIR> All 188 original files retained
1 G:\ gnome <DIR> All 4 original files retained
     2 G:\gnome\ data <DIR> All 4 original files retained
          3 G:\gnome\data\ anims <DIR> All 12 original files retained
          3 G:\gnome\data\ config <DIR> No original files to retain
               4 G:\gnome\data\config\ default <DIR> All original files retained (one only)
         3 G:\gnome\data\ images <DIR> All 92 original files NOT retained
          3 G:\gnome\data\ lev01 <DIR> All 4 original files NOT retained
          3 G:\gnome\data\ player <DIR> All 2 original files retained
          3 G:\gnome\data\ wavs <DIR> No original files to retain
               4 G:\gnome\data\wavs\ 11K <DIR> All 257 original files NOT retained
                    5 G:\gnome\data\wavs\11K\ Voice <DIR> All 956 original files NOT retained
               4 G:\gnome\data\wavs\ 22K <DIR> All 257 original files NOT retained
                    5 G:\gnome\data\wavs\22K\ Voice <DIR> All 985 original files NOT retained
               4 G:\gnome\data\wavs\ Music <DIR> All 24 original files replaced, original filenames retained
                    AnakinLoop.wav 13,656,644
                    Battleloop1.wav 7,510,068
                    BattleLoop2.wav 12,170,716
                    Bossloop.wav 13,279,080
                    ConflictLoop.wav 12,485,996
                    ConflictLoop2.wav 16,415,032
                    ConflictLoop3.wav 13,406,208
                    DestroyLoop.wav 17,983,448
                    DroidLoop1.wav 10,277,796
                    DroidLoop2.wav 8,112,112
                    Escapeloop.wav 6,709,448
                    m010podanni.wav 1,112,644
                    m012podboss.wav 1,112,644
                    m032wipeout2.wav 105,380
                    m032wipeout3.wav 105,380
                    m092didgood.wav 3,059,876
                    m099awards2.wav 3,422,872
                    mb00aquilarisintro.wav 1,629,164
                    me00spiceintro.wav 1,629,164
                    mt01desert.wav 1,629,164
                    mx091lavacaves.wav 1,629,164
                    PodLoop1.wav 19,846,132
                    PsycheLoop.wav 16,466,896
                    SebulbaLoop.wav 12,242,928

1 G:\ INSTALL <DIR> All 29 original files retained
     2 G:\INSTALL\ gnome <DIR> All 2 original files retained

Directories: 19 (Original directories: 19. Entire directory structure is preserved)
Files: 377 ( 441971344 bytes ) (Original files: 2928 ( 521121406 bytes ))

Directory Structure and Files on the Original Star Wars Racer CD

Download TXT File

The Process

1) What you will need:

  • a copy of the original game CD
  • a Windows PC that meets the system requirements of the game
  • a CD burner and burning software (I used EasyCD v4 by Adaptec)
  • sound editing software for WAV files (I used Wavelab v3 by Steinberg)
  • image editing software for TGA files (I used PhotoPaint v8 by Corel)
  • a blank CD-R
  • a blank CD-RW
  • various CD music. This could be anything you like, but I suggest the following guidelines:
    • no vocals (The repetitiveness of the loops will become VERY apparent)
    • for best audio quality:
      • use original artist CDs — no CD-R copies, no MP3s
      • save your new WAV files at 22K (16-bit stereo) — the game will run fine, despite larger file sizes, but this depends also on the performance of your PC and how much RAM you have

2) Install the game from the original CD as per manufacturer's instructions. Run the game and, in your options, select whether you want to use the 22K or 11K set of sound files. The 22K set will definitely sound better. Exit the game, and delete the set you're not using from the hard drive. (In the table on the left, you will see that the two "Racer\DATA\WAVS\11K" folders are empty). This just saves hard drive space. I did keep the empty folders, however, to preserve the directory structure.

3) Copy the entire contents of the original CD to a temporary folder on the hard drive. Go to this folder and delete all files in the following directories:

  • gnome\data\images
  • gnome\data\lev01
  • gnome\data\wavs\11K
  • gnome\data\wavs\11K\Voice
  • gnome\data\wavs\22K
  • gnome\data\wavs\22K\Voice

These files are not needed on the modded CD because the game's installation routine copies them to the hard drive. Also, the extra filespace allows you to add new music WAV files that are significantly larger than the originals. I did not delete the folders or directories themselves.

4) Insert a blank CD-RW into the drive and run DirectCD to format the disk (if its not pre-formatted).

5) Label the new disk "racer100_0". (Note: only in DirectCD, not EasyCD, can you create a volume label that will be all lower-case letters)

6) Copy all directories, folders, and remaining files (from the temp folder, see #3 above) to the CD-RW:

7) You're now ready to create your new music files, so choose the music you want and copy those WAV files to the temp folder on your hard drive. Open your sound editing software: I used Wavelab 3 by Steinberg.

8) Open one of your new WAV files, and adjust your software settings to playback highlighted areas as loops (so you can preview your loop). Selecting a chunk of the original files is simply a matter of dragging the mouse cursor along the WAV (just like selecting a chunk of text). The hardest part will be adjusting the start and end points of your selection so that you have a loop with a seamless transition from end to start - this is most important. The main thing to listen for is a near-perfect (or perfect) retention of the beat of the music, so it helps to tap your foot to the beat. You should perceive no change in the beat during the end-start transition. When you're satisfied with the way things sound, copy your selection to a new WAV file, rename it to one of the original music filenames, and save it as a 22K (16-bit stereo) WAV file to the "gnome\data\wavs\Music" folder in your temp directory. Repeat this procedure for other new music files until you have 24 new loops. Below is a breakdown of what I created. Original filename and size is in blue, new file sizes and my chosen themes are in green. Note that your own WAVs can be significantly larger than the originals. That is why, to accomodate these new filesizes, my modded CD has so many other files that were "not retained".

AnakinLoop.wav 4,757,860 13,656,644 (16-bit, 22K, 2min35sec — Ace of Spades by Motörhead, from the CD "Ace of Spades" (plays during splash and settings screens)
Battleloop1.wav 5,372,692 7,510,068 (16-bit, 22K, 1min25sec — Surfing with the Alien by Joe Satriani, from the CD "Surfing with the Alien"
BattleLoop2.wav 5,737,280 12,170,716 (16-bit, 22K, 2min17sec — Attack by Joe Satriani, from the CD "Engines of Creation"
Bossloop.wav 3,312,452 13,279,080 (16-bit, 22K, 2min31sec — Highway Star by Deep Purple, from the CD "Machine Head"
ConflictLoop.wav 7,280,664 12,485,996 (16-bit, 22K, 2min22sec — The Hammer by Motörhead, from the CD "The Best of Motörhead"
ConflictLoop2.wav 7,156,440 16,415,032 (16-bit, 22K, 3min7sec — Can't Slow Down by Joe Satriani, from the CD "Flying in a Blue Dream"
ConflictLoop3.wav 4,653,912 13,406,208 (16-bit, 22K, 2min32sec — Satch Boogie by Joe Satriani, from the CD "Surfing with the Alien"
DestroyLoop.wav 5,329,764 17,983,448 (16-bit, 22K, 3min24sec — Devil's Slide by Joe Satriani, from the CD "Engines of Creation"
DroidLoop1.wav 4,156,068 10,277,796 (16-bit, 22K, 1min56sec — Flavor Crystal by Joe Satriani, from the CD "Engines of Creation"
DroidLoop2.wav 3,922,200 8,112,112 (16-bit, 22K, 1min32sec — One Big Rush by Joe Satriani, from the CD "Flying in a Blue Dream"
Escapeloop.wav 3,080,212 6,709,448 (16-bit, 22K, 1min16sec — Circles by Joe Satriani, from the CD "Surfing with the Alien"
m010podanni.wav 647,712 1,112,644 (16-bit, 22K, 12.569sec — Give It Up Or Turn It Loose by James Brown, from the CD "20 All-time Greatest Hits"
m012podboss.wav 455,712 1,112,644 (16-bit, 22K, 12.569sec — Give It Up Or Turn It Loose by James Brown, from the CD "20 All-time Greatest Hits"
m032wipeout2.wav 287,712 105,380 (16-bit, 22K, 1.148sec — I Got You (I Feel Good) by James Brown, from the CD "20 All-time Greatest Hits"
m032wipeout3.wav 311,712 105,380 (16-bit, 22K, 1.148sec — I Got You (I Feel Good) by James Brown, from the CD "20 All-time Greatest Hits"
m092didgood.wav 695,712 3,059,876 (16-bit, 22K, 34.646sec — I Got You (I Feel Good) by James Brown, from the CD "20 All-time Greatest Hits"
m099awards2.wav 1,343,712 3,422,872 (16-bit, 22K, 38.762sec — We Are The Champions by Queen, from the CD "News of the World" (plays after a 1st place victory)
mb00aquilarisintro.wav 839,712 1,629,164 (16-bit, 22K, 18.425sec — Hot Pants by James Brown, from the CD "20 All-time Greatest Hits" (plays during countdowns)
me00spiceintro.wav 1,079,712 1,629,164 (16-bit, 22K, 18.425sec — Hot Pants by James Brown, from the CD "20 All-time Greatest Hits" (plays during countdowns)
mt01desert.wav 1,151,712 1,629,164 (16-bit, 22K, 18.425sec — Hot Pants by James Brown, from the CD "20 All-time Greatest Hits" (plays during countdowns)
mx091lavacaves.wav 959,712 1,629,164 (16-bit, 22K, 18.425sec — Hot Pants by James Brown, from the CD "20 All-time Greatest Hits" (plays during countdowns)
PodLoop1.wav 5,971,576 19,846,132 (16-bit, 22K, 3min45sec — Summer Song by Joe Satriani, from the CD "The Extremist"
PsycheLoop.wav 7,938,084 16,466,896 (16-bit, 22K, 3min7sec — Back to Shalla-Bal by Joe Satriani, from the CD "Flying in a Blue Dream"
SebulbaLoop.wav 4,008,076 12,242,928 (16-bit, 22K, 2min19sec — Motorcycle Driver by Joe Satriani, from the CD "The Extremist"

9) Open DirectCD again, and copy your new WAV files to the "gnome\data\wavs\Music" folder on your CD-RW. Double-check the entire CD-RW so that it matches exactly the directory structure as described in "Hacked CD" above. You should have 19 directories and 377 files altogether, though total bytes may vary depending on the size of the audio files you created.

10) The last thing you need to do is create a CD-R copy of the CD-RW disk. To be honest, I don't remember exactly what I did here, but it was either a straight CD-to-CD copy or I created an image of the CD-RW. The image was then burned to a CD-R.

11) That's about it. To test your new Racer CD, run the game from the original Star Wars Racer CD-ROM. Start a game and select or create a player character. When you get to the screen where you select your pod racer, eject the original CD, and replace it with your hacked CD. To test whether things are working, you could now back up to the screen where you select a player character or further back to the options screen. The music should now be whatever you saved as "AnakinLoop.wav".

12) Enjoy. Got questions or problems, feel free to e-mail me. Contact information can be found on my home page.

Method 2 - No CDs, 2 Music Folders

The Process

1) What you will need:

  • a copy of the original game CD
  • a Windows PC that meets the system requirements of the game
  • sound editing software for WAV files (I used Wavelab v3 by Steinberg)
  • image editing software for TGA files (I used PhotoPaint v8 by Corel)
  • various CD music. This could be anything you like, but I suggest the following guidelines:
    • no vocals (The repetitiveness of the loops will become VERY apparent)
    • for best audio quality:
      • use original artist CDs — no CD-R copies, no MP3s
      • save your new WAV files at 22K (16-bit stereo) — the game will run fine, despite larger file sizes, but this depends also on the performance of your PC and how much RAM you have

2) Install the game from the original CD as per manufacturer's instructions. Run the game and, in your options, select whether you want to use the 22K or 11K set of sound files. The 22K set will definitely sound better. Exit the game, and delete the set you're not using from the hard drive. This just saves hard drive space. I did keep the empty folders, however, to preserve the directory structure.

3) Open Windows Explorer and go to your ..\Racer\data\wavs\ folder and create two new subfolders: one called "music", the other "music2". There should now be four subfolders in "wavs":

  • data\wavs\11K
  • data\wavs\22K
  • data\wavs\music
  • data\wavs\music2

3) Copy all 24 wav files from the original CD to the ..\Racer\data\wavs\music\ folder on the hard drive. The "music2" folder is for our new music files. See Step 7 and Step 8 from Method 1 above.

4) Download racer.zip and extract it to your "Racer" folder. The ZIP file contains:

  • Racer1.bat (a sub-batch file that is called by RACRrock.bat)
  • RACRrock.bat (runs the game by calling Racer1.bat, then waits to rename the two music folders)
  • SWarPat1.com (removes the CD check from the racer.exe file)
  • SWarPat2.com (removes the CD check from the swep1rcr.exe file)
  • SW_NoVid.com (eliminates all video cut scenes)
  • racer.nfo (a text file reiterating this list)

5) Open Windows Explorer and go to your "racer" folder. Let the modding begin:

  • Run SWarPat1.com by double-clicking it.
  • Run SWarPat2.com by double-clicking it.
  • Run SW_NoVid.com by double-clicking it.
  • Double-click swep1rcr.exe to make sure the no-CD, no-VIDs patches worked. If yes, exit the game and return to your "racer" folder.
  • Edit the two .BAT files with a text editor like Notepad, so that the addresses reflect the location of your "racer" folder:
    • On my PC, the game is on Drive D, in the "games" folder, hence the batch files say "D:\games\racer\etc......."
    • If, for example, you have the game on Drive C in your "Program Files" folder, the lines should be changed to "C:\Progra~1\racer\etc....."
  • Create a new shortcut on your Start Menu that points to the RACRrock.bat file. Right-click this new shortcut and select Properties. Under the "Program" tab, make sure that "Close on Exit" is checked. The "Cmd line" field should point to the RACRrock.bat file. The "Working" field should point to the folder that the RACRrock.bat file is in (in my case, D:\games\racer). The "Batch file" field should be empty, the "Run" field should say "normal window", and the "Shortcut key" is optional. Finally, under the "Screen" tab, for "Usage" select "Window", not "Full screen".

6) That's about it. To test your new music, start a game with your new shortcut and select or create a player character. When you get to the screen where you select your pod racer, Alt-Tab out of the game, select the DOS window (ideally the only other window open on your desktop) and hit any key to unpause it. The batch file renames your music folders so that "music" becomes "music1" and "music2" becomes "music". The batch file will pause again, ready to switch them back whenever you're finished playing. So Alt-Tab back to the game.

To test whether things are working, you could now back up to the screen where you select a player character or further back to the options screen. The music should now be whatever you saved as "AnakinLoop.wav". If you want to add your own splash screen and background images, follow the instructions from Method 1 above.

7) Enjoy. Got questions or problems, feel free to e-mail me. Contact information can be found on my home page.


Copyright ©2002